
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/assets/img/xui.png">

    <title>XUI Dashboard</title>

    <!-- Bootstrap core CSS -->
    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/dashboard.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

    <div id='body'/></div>

    <script src="/assets/js/_bower.js"></script>
    <script src="/assets/js/xui.js"></script>


    <script type="text/x-handlebars" data-template-name="application">
      {{outlet "nav"}}
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-3 col-md-2 sidebar">
            {{outlet "sidebar"}}
          </div>
          <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" id="main">
            {{outlet "main"}}
          </div>
        </div>
      </div>
    </script>

    <script type="text/x-handlebars" data-template-name="nav">
      <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#"><img src="/assets/img/xui.png" style="height:30px;"/></a>
          </div>
          <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
              <li><a href="#">Dashboard</a></li>
              <li><a href="#/show/application">Show</a></li>
              <li><a href="#/about">About</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
              <li><a href="#">Dashboard</a></li>
              <li><a href="#">Settings</a></li>
              <li><a href="#">Profile</a></li>
              <li><a href="#">Help</a></li>
            </ul>
          </div>
        </div>
      </nav>
    </script>


    <script type="text/x-handlebars" data-template-name="sidebar">
      <ul class="nav nav-sidebar">
        <li class="active"><a href="#">Overview <span class="sr-only">(current)</span></a></li>
        <li><a href="#">Calls</a></li>
        <li><a href="#">Channels</a></li>
        <li><a href="#">Users</a></li>
        <li><a href="#">Sofia</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="">Nav item</a></li>
        <li><a href="">Nav item again</a></li>
        <li><a href="">One more nav</a></li>
        <li><a href="">Another nav item</a></li>
        <li><a href="">More navigation</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="">Nav item again</a></li>
        <li><a href="">One more nav</a></li>
        <li><a href="">Another nav item</a></li>
      </ul>
    </script>

    <script type="text/x-handlebars" data-template-name="showsidebar">
      <ul class="nav nav-sidebar">
        <li class="active"><a href="#/show/application">Applications <span class="sr-only">(current)</span></a></li>
        <li><a href="#/show/registration">Registrations</a></li>
        <li><a href="#/show/module">Modules</a></li>
        <li><a href="#/show/endpoint">Endpoints</a></li>
        <li><a href="#/show/codec">Codecs</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="">Files</a></li>
        <li><a href="">APIs</a></li>
        <li><a href="">Aliases</a></li>
        <li><a href="">Complete</a></li>
        <li><a href="">Chat</a></li>
      </ul>
      <ul class="nav nav-sidebar">
        <li><a href="">Management</a></li>
        <li><a href="">NAT Map</a></li>
        <li><a href="">Say</a></li>
        <li><a href="">Interfaces</a></li>
        <li><a href="">Interface Types</a></li>
        <li><a href="">Tasks</a></li>
        <li><a href="">Limits</a></li>
      </ul>
    </script>

    <script type="text/x-handlebars" data-template-name="main">
        <div class="jumbotron">
          <p>FreeSWITCH Version 1.5.15b+git~20141229T184942Z~a067a49b39~64bit (git a067a49 2014-12-29 18:49:42Z 64bit)</p>

          <p>UP 0 years, 1 day, 11 hours, 58 minutes, 39 seconds, 510 milliseconds, 713 microseconds
          <br>FreeSWITCH (Version 1.5.15b git a067a49 2014-12-29 18:49:42Z 64bit) is ready
          <br>0 session(s) since startup
          <br>0 session(s) - peak 0, last 5min 0
          <br>0 session(s) per Sec out of max 30, peak 0, last 5min 0
          <br>1000 session(s) max
          <br>min idle cpu 0.00/100.00
          </p>
        </div>

      <h1 class="page-header">Dashboard</h1>

      <div class="row placeholders">
        <div class="col-xs-6 col-sm-3 placeholder">
          <img data-src="holder.js/200x200/auto/sky" class="img-responsive" alt="Generic placeholder thumbnail">
          <h4>Label</h4>
          <span class="text-muted">Something else</span>
        </div>
        <div class="col-xs-6 col-sm-3 placeholder">
          <img data-src="holder.js/200x200/auto/vine" class="img-responsive" alt="Generic placeholder thumbnail">
          <h4>Label</h4>
          <span class="text-muted">Something else</span>
        </div>
        <div class="col-xs-6 col-sm-3 placeholder">
          <img data-src="holder.js/200x200/auto/sky" class="img-responsive" alt="Generic placeholder thumbnail">
          <h4>Label</h4>
          <span class="text-muted">Something else</span>
        </div>
        <div class="col-xs-6 col-sm-3 placeholder">
          <img data-src="holder.js/200x200/auto/vine" class="img-responsive" alt="Generic placeholder thumbnail">
          <h4>Label</h4>
          <span class="text-muted">Something else</span>
        </div>
      </div>

    </script><!-- xui -->

    <script type="text/x-handlebars" data-template-name="about">
      <h1>About XUI</h1>
      The Best FreeSWITCH UI
    </script>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <!-- // <script src="assets/js/jquery.min.js"></script> -->
    <!-- // <script src="assets/js/bootstrap.min.js"></script> -->
    <!-- <script src="assets/js/docs.min.js"></script> -->
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="/assets/js/ie10-viewport-bug-workaround.js"></script>

    <script>
      console.log("====TEST===");
      start();
      test( "hello test", function() {
        ok( 1 == "1", "Passed!" );
      });
    </script>
  </body>
</html>
